local extension = Package:new("variation_hegcards", Package.CardPack)
extension.extensionName = "variation_hegemony"

extension.game_modes_whitelist = {"variation_heg_mode"}

--应变国战模式使用的国战牌堆
Fk:loadTranslationTable{
    ["variation_hegcards"] = "应变国战标准版",
}

extension:loadSkillSkelsByPath("./packages/variation_hegemony/pkg/variation_hegcards/skills")

--顺序 基本 锦囊 装备
--基本
    --杀(目标+1)
    extension:addCardSpec("slash", Card.Club, 2)
    extension:addCardSpec("slash", Card.Club, 3)
    extension:addCardSpec("slash", Card.Club, 4, { heg_variation = {"@heg_yibing-public", "variation_addtarget"} })--疑兵

    extension:addCardSpec("slash", Card.Spade, 5)
    extension:addCardSpec("slash", Card.Club, 5, { heg_variation = {"@kongchao-public", "variation_addtarget"} })--空巢
    extension:addCardSpec("slash", Card.Spade, 7)

    extension:addCardSpec("slash", Card.Spade, 8)
    extension:addCardSpec("slash", Card.Club, 8)
    extension:addCardSpec("slash", Card.Spade, 9)
    extension:addCardSpec("slash", Card.Club, 9)

    extension:addCardSpec("slash", Card.Spade, 10, { heg_variation = {"@canqu-public", "variation_addtarget"} })--残躯
    extension:addCardSpec("slash", Card.Club, 10)
    extension:addCardSpec("slash", Card.Diamond, 10)
    extension:addCardSpec("slash", Card.Heart, 10)

    extension:addCardSpec("slash", Card.Spade, 11, { heg_variation = {"@canqu-public", "variation_addtarget"} })--残躯
    extension:addCardSpec("slash", Card.Club, 11)
    extension:addCardSpec("slash", Card.Club, 11)
    extension:addCardSpec("slash", Card.Diamond, 11)

    extension:addCardSpec("slash", Card.Diamond, 12)
    extension:addCardSpec("slash", Card.Heart, 12)
    --雷杀
    extension:addCardSpec("thunder__slash", Card.Club, 6)
    extension:addCardSpec("thunder__slash", Card.Club, 7)
    extension:addCardSpec("thunder__slash", Card.Club, 8)
    --火杀（伤害+1）
    extension:addCardSpec("fire__slash", Card.Heart, 4, { heg_variation = {"@canqu-public", "variation_damage"} })--残躯
    extension:addCardSpec("fire__slash", Card.Diamond, 4, { heg_variation = {"@canqu-public", "variation_damage"} })--残躯
    extension:addCardSpec("fire__slash", Card.Diamond, 5)
    --冰杀
    extension:addCardSpec( "ice__slash", Card.Spade, 6)
    extension:addCardSpec( "ice__slash", Card.Spade, 7)
    extension:addCardSpec( "ice__slash", Card.Spade, 8)
    --闪（摸一张牌）
    extension:addCardSpec("jink", Card.Diamond, 2)
    extension:addCardSpec("jink", Card.Heart, 2)
    extension:addCardSpec("jink", Card.Diamond, 3)
    extension:addCardSpec("jink", Card.Diamond, 6)

    extension:addCardSpec("jink", Card.Diamond, 7, { heg_variation = {"@kongchao-public", "variation_draw"} })--空巢
    extension:addCardSpec("jink", Card.Diamond, 7, { heg_variation = {"@kongchao-public", "variation_draw"} })--空巢

    extension:addCardSpec("jink", Card.Diamond, 8, { heg_variation = {"@kongchao-public", "variation_draw"} })--空巢
    extension:addCardSpec("jink", Card.Diamond, 8, { heg_variation = {"@kongchao-public", "variation_draw"} })--空巢

    extension:addCardSpec("jink", Card.Diamond, 9)

    extension:addCardSpec("jink", Card.Diamond, 10)
    extension:addCardSpec("jink", Card.Heart, 11)
    extension:addCardSpec("jink", Card.Diamond, 11)
    extension:addCardSpec("jink", Card.Heart, 13)
    extension:addCardSpec("jink", Card.Diamond, 13)

    --桃
    extension:addCardSpec("peach", Card.Diamond, 2)
    extension:addCardSpec("peach", Card.Heart, 4)
    extension:addCardSpec("peach", Card.Heart, 6)
    extension:addCardSpec("peach", Card.Heart, 7)
    extension:addCardSpec("peach", Card.Heart, 8)
    extension:addCardSpec("peach", Card.Heart, 9)
    extension:addCardSpec("peach", Card.Heart, 10)
    extension:addCardSpec("peach", Card.Heart, 12)

--酒
    extension:addCardSpec("analeptic", Card.Diamond, 9)
    extension:addCardSpec("analeptic", Card.Spade, 9)
    extension:addCardSpec("analeptic", Card.Club, 9)

--锦囊
  extension:addCardSpec("dismantlement", Card.Spade, 4)
  extension:addCardSpec("dismantlement", Card.Heart, 12)

  extension:addCardSpec("chasing_near", Card.Diamond, 3)--逐近弃远
  extension:addCardSpec("chasing_near", Card.Spade, 3, { heg_variation = {"@fujia-public", "variation_disresponsive"} })--富甲 逐近弃远 不可响应
  extension:addCardSpec("chasing_near", Card.Club, 12, { heg_variation = {"@zhuzhan-public", "variation_addtarget"} } )--助战 逐近弃远 目标+1

  extension:addCardSpec("duel", Card.Spade, 1)
  extension:addCardSpec("duel", Card.Club, 1)

  extension:addCardSpec("foresight", Card.Heart, 7)--洞烛先机
  extension:addCardSpec("foresight", Card.Heart, 8)

  extension:addCardSpec("nullification", Card.Spade, 11, { heg_variation = {"@kongchao-public", "variation_draw"} }) --空巢 无懈可击 摸一张
  extension:addCardSpec("heg__nullification", Card.Club, 13)
  extension:addCardSpec("heg__nullification", Card.Diamond, 12)

  extension:addCardSpec("savage_assault", Card.Club, 7, { heg_variation = {"@fujia-public", "variation_minustarget"}})--富甲 南蛮入侵 目标-1
  extension:addCardSpec("savage_assault", Card.Spade, 13, { heg_variation = {"@fujia-public", "variation_minustarget"}})--富甲 南蛮入侵
  extension:addCardSpec("archery_attack", Card.Heart, 1)
  extension:addCardSpec("god_salvation", Card.Heart, 1)
  extension:addCardSpec("amazing_grace", Card.Heart, 3)

  extension:addCardSpec("lightning", Card.Spade, 1)
  extension:addCardSpec("indulgence", Card.Club, 6)
  extension:addCardSpec("indulgence", Card.Heart, 6)
  extension:addCardSpec("supply_shortage", Card.Spade, 10)
  extension:addCardSpec("supply_shortage", Card.Club, 10)

  extension:addCardSpec("iron_chain", Card.Spade, 12)
  extension:addCardSpec("iron_chain", Card.Club, 12)
  extension:addCardSpec("iron_chain", Card.Club, 13)

  extension:addCardSpec("fire_attack", Card.Heart, 2, { heg_variation = {"@heg_yibing-public", "variation_addtarget"} })--疑兵 火攻 目标+1
  extension:addCardSpec("fire_attack", Card.Heart, 3, { heg_variation = {"@zhuzhan-public", "variation_addtarget"} })--助战 火攻

  extension:addCardSpec("known_both", Card.Club, 3)
  extension:addCardSpec("known_both", Card.Club, 4)

  extension:addCardSpec("await_exhausted", Card.Diamond, 4)
  extension:addCardSpec("await_exhausted", Card.Heart, 11)

  extension:addCardSpec("befriend_attacking", Card.Heart, 9)

  extension:addCardSpec("drowning", Card.Spade, 3, { heg_variation = {"@zhuzhan-public", "variation_addtarget"} }) --助战 水淹七军 目标+1
  extension:addCardSpec("drowning", Card.Spade, 4, { heg_variation = {"@zhuzhan-public", "variation_addtarget"} }) --助战 水淹七军 目标+1

--装备
--武器
   extension:addCardSpec("crossbow", Card.Diamond, 1)
   extension:addCardSpec("double_swords", Card.Spade, 2)
   extension:addCardSpec("six_swords", Card.Diamond, 6)
   extension:addCardSpec("qinggang_sword", Card.Spade, 6)
   extension:addCardSpec("axe", Card.Diamond, 5)
   extension:addCardSpec("spear", Card.Spade, 12)
   extension:addCardSpec("triblade", Card.Diamond, 12)
   extension:addCardSpec("black_chain", Card.Spade, 13)
   extension:addCardSpec("five_elements_fan", Card.Diamond, 1)
   extension:addCardSpec("kylin_bow", Card.Heart, 5)


--防具
  extension:addCardSpec("eight_diagram", Card.Spade, 2)
  extension:addCardSpec("nioh_shield",Card.Club, 2)
  extension:addCardSpec("silver_lion", Card.Club, 1)
  extension:addCardSpec("vine", Card.Club, 2)

--坐骑
  extension:addCardSpec("jueying",Card.Spade,5)
  extension:addCardSpec("zhuahuangfeidian",Card.Heart, 13)
  extension:addCardSpec("chitu",Card.Heart, 5)
  extension:addCardSpec("zixing",Card.Diamond, 13)

--宝物
  extension:addCardSpec("taigong_tactics", Card.Spade, 2)
  extension:addCardSpec("heg__bronze_sparrow", Card.Club, 5)

local bronze_sparrow = fk.CreateCard{
  name = "heg__bronze_sparrow",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeTreasure,
  equip_skill = "#heg__bronze_sparrow_skill",
}

Fk:loadTranslationTable{
  ["heg__bronze_sparrow"] = "铜雀",
  [":heg__bronze_sparrow"] = "装备牌·宝物<br/>"..
  "<b>宝物技能</b>：锁定技，你使用具有应变效果的牌无需强化条件直接发动应变效果。",
}

extension:loadCardSkels {
  bronze_sparrow,
}

return extension